/* 搜索 */
#search{
    width: 100%;
    height: 126px;
    background: url(../images/item001.jpg) no-repeat center;
    background-size: 100%;
    .logo{
        width: 280px;
        height: 126px;
        background: url(../images/item003.jpg) no-repeat center;
    }
    .lol{
        width: 160px;
        height: 126px;
        background: url(../images/item002.jpg) no-repeat center;
    }
    .sea{
        width: 520px;
        height: 50px;
        margin: 38px 0 0 76px;
        input{
            width: 470px;
            height: 100%;
            outline: none;
            text-indent: 10px;
            background: none;
            color: #ccc;
            border: 1px solid #ccc;
        }
        ::-webkit-input-placeholder{
            color: #ccc;
        }
        button{
            width: 50px;
            height: 50px;
            outline: none;
            border: none;
            background-color: #ccc;
            i{
                font-size: 24px;
                cursor: pointer;
            }
        }
    }
}
/* 菜单 */
#menu{
    width: 100%;
    height: 78px;
    background-color: #2e2e2e;
    ul li{
        height: 78px;
        line-height: 78px;
        float: left;
        margin: 0 25px;
        a{
            display: block;
            height: 78px;
            line-height: 78px;
            color: #ccc;
            font-size: 20px;
            &:hover{
                color: #ff5900;
            }
        }
        
    }
    .shopcar{
        width: 240px;
        height: 78px;
        margin: 0 25px 0 50px;
        a{
            display: block;
            width: 60%;
            height: 100%;
            font-size: 24px;
            color: #ff5900;
            line-height: 78px;
            text-align: right;
            i{
                font-size: 24px;
            }
        }
        span{
            font-size: 24px;
            color: #ff5900;
            line-height: 78px;
        }
    }
}
/* 选项卡 */
#nav{
    width: 100%;
    height: 54px;
    background-color: #f3f4f6;
    ul{
        width: 100%;
        height: 54px;
        display: flex;
        justify-content: space-around;
        background-color: #ddd;
        li{
            float: left;
            line-height: 54px;
            a{
                display: block;
                color: #111;
                &:hover{
                    color: #36ab87;
                }
            }
            
        }
    }
}
/* 内容区 */
#content{
    background-color: #f3f4f6;
    height: 2220px;
    .con_p{
        width: 100%;
        height: 52px;
        font-size: 12px;
        line-height: 52px;
    }
    .con_left{
        width: 190px;
        height: 2120px;
        background-color: #fafbfc;
        padding: 20px;
        div{
            &:first-child{
                width: 190px;
                height: 930px;
                h4{
                    height: 30px;
                    line-height: 20px;
                    border-bottom: 2px solid #36ab87;
                }
                ul{
                    li{
                        width: 184px;
                        height: 73px;
                        border-bottom: 1px dashed #ccc;
                        margin-top: 15px;
                        padding-left: 6px;
                        position: relative;
                        img{
                            width: 70px;
                        }
                        p{
                            width: 106px;
                            margin-left: 5px;
                            >span{
                                font-size: 12px;
                                display: block;
                                line-height: 20px;
                                overflow: hidden;
                                text-overflow:ellipsis;
                                white-space: nowrap;

                                &:first-child{
                                    font-weight: bold;
                                    font-size: 14px;
                                }
                            }
                        }
                        &:hover{
                            cursor: pointer;
                            p{
                                >span{ 
                                    &:first-child{
                                        color: #36ab87;
                                        text-decoration: underline;
                                    }
                                    &:last-child{
                                        color: #ff5900;
                                        text-decoration: underline;
                                    }
                                }
                            }
                        }
                        div{
                            width: 0;
                            height: 0;
                            position: absolute;
                            top: -5px;
                            left: 2px;
                            color: #fff;
                            border: 5px solid transparent;
                            border-top: 15px solid #36ab87;
                            border-left: 10px solid #36ab87;
                            border-right: 10px solid #36ab87;
                            p{
                                width: 20px;
                                height: 20px;
                                position: absolute;
                                top: -15px;
                                left: -12px;
                            }
                        }
                    }
                }
            }
            
            &:nth-child(2){
                width: 190px;
                height: 1180px;
                margin-top: 20px;
                h4{
                    height: 30px;
                    line-height: 20px;
                    border-bottom: 2px solid #36ab87;
                }
                ul{
                    li{
                        width: 190px;
                        height: 236px;
                        padding: 20px 0 20px 0;
                        border-bottom: 1px dashed #ccc;
                        img{
                            width: 190px;
                            height: 184px;
                        }
                        p{
                            line-height: 30px;
                        }
                        span{
                            color: #ff5900;
                            font-weight: bold;
                        }
                        &:hover{
                            cursor: pointer;
                        }
                    }
                }
                a{
                    float: right;
                    font-size: 12px;
                    margin-top: 10px;
                    &:hover{
                        color: #36ab87;
                        text-decoration: underline;
                    }
                }
            }
        }
    }
    .con_right{
        width: 950px;
        height: 2120px;
        div{
            &:first-child{
                width: 935px;
                height: 66px;
                padding: 20px 0 20px 15px;
                background-color: #ededed;
                p{
                    font-size: 14px;
                    height: 26px;
                    &:first-child{
                        margin-bottom: 20px;
                        input{
                            outline: none;
                            &:first-child{
                                width: 344px;
                                height: 26px;
                            }
                            &:not(:first-child){
                                width: 40px;
                                height: 22px;
                            }
                        }
                        a{
                            display: inline-block;
                            width: 46px;
                            height: 24px;
                            background-color: #f5f5f5;
                            line-height: 24px;
                            border: 1px solid #ccc;
                            color: #222;
                            text-align: center;
                            margin-right: 250px;
                            &:hover{
                                cursor: pointer;
                                background-color: #ccc;
                            }
                        }
                    }
                    &:nth-child(2){
                        span{
                            &:nth-child(2){
                                margin: 0 20px 0 40px;
                            }
                            &:nth-child(3){
                                margin: 0 40px 0 20px;
                            }
                            .icon-xia{
                                font-size: 12px;
                            }
                        }
                    }
                }
            }
            &:nth-child(2){
                margin-top: 10px;
                width: 950px;
                height: 2004px;
                background-color: #fafbfc;
                padding-top: 40px;
                ul{
                    li{
                        width: 200px;
                        height: 368px;
                        background-color: #fff;
                        border-radius: 5px;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        border: 1px solid #ccc;
                        position: relative;
                        margin: 0 16px 30px 16px;
                        float: left;
                        &:hover{
                            border: 1px solid #36ab87;
                            background-color: #f7f7f7;
                            cursor: pointer;
                            .lx_one,.lx_two{
                                color: #36ab87;
                            }
                        }
                        .lx_one{
                            position: absolute;
                            top: -7px;
                            left: 95px;
                            color: #ccc;
                            font-size: 12px;
                            background-color: #fafbfc;
                        }
                        .lx_two{
                            position: absolute;
                            bottom: -8px;
                            left: 95px;
                            font-size: 12px;
                            background-color: #fafbfc;
                        }
                        h5{
                            font-size: 14px;
                            line-height: 30px;
                            &:hover{
                                cursor: pointer;
                            }
                        }
                        img{
                            width: 116px;
                            &:hover{
                                cursor: pointer;
                            }
                        }
                        p{
                            font-size: 12px;
                            span{
                                color: #ff5900;
                                font-size: 14px;
                                font-weight: bold;
                                line-height: 20px;
                            }
                        }
                        .shopping{
                            width: 124px;
                            height: 32px;
                            background-color: #36ab87;
                            color: #fff;
                            text-align: center;
                            line-height: 32px;
                            margin-top: 10px;
                            font-size: 14px;
                            &:hover{
                                cursor: pointer;
                                background-color: #1c775c;
                            }
                        }
                    }
                }
            }
        }
    }
}

















